pub mod dao;
#[cfg(test)]
mod tests {
    use crate::base;

    #[tokio::test]
    async fn test() -> Result<(), sqlx::Error> {
        let row: (i32, ) = sqlx::query_as("SELECT age from test.test_table where id = $1")
            .bind(1_i32)
            .fetch_one(base::db_conn_pool()).await?;

        println!("{}", row.0);

        let re: Vec<(i32, String, i32)> = sqlx::query_as("select * from test.test_table")
            .fetch_all(base::db_conn_pool()).await?;

        println!("{:?}", re);

        Ok(())
    }
}